﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>兼职乐-快乐生活，快乐工作，尽在兼职乐</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<!-- 引入 Bootstrap -->
<link href="__MYINDEXCSS__bootstrap.min.css" rel="stylesheet">
<link href="__MYINDEXCSS__newpc.css" rel="stylesheet">
<link href="__MYINDEXCSS__datepicker.css" rel="stylesheet">
<!-- HTML5 Shim 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
<!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
<!--[if lt IE 9]>
 <script src="__MYINDEXJS__html5shiv.js"></script>
 <script src="__MYINDEXJS__respond.min.js"></script>
<![endif]-->
<script src="__MYINDEXJS__jquery.js"></script>
<script src="__MYINDEXJS__lepin_ajax.js"></script>
<script src="__MYINDEXJS__lepin.js"></script>
<script src="__MYINDEXJS__zepto.min.js"></script>
<script src="__MYINDEXJS__frozen.js"></script>
<script type="text/javascript" src="__MYINDEXJS__laydate.js"></script>
<script src="__MYINDEXJS__common2.js"></script>
</head>
<body>
<div class="nav_top">
    <div class="container">
        <a class="pull-right" href="{:url('index/company/about')}">关于我们</a>
                <span class="pull-right mr15">欢迎，{$Think.session.tel}<a href="login.php?act=login_out" class="ml10">[注销]</a></span>
                <a href="index.php?act=app"><span class="glyphicon glyphicon-phone mr5"></span>兼职乐APP</a>
                <span class="ml10"><em class="fontC01 fontS16">[{$Think.session.status == 1?'已认证':'未认证'}]</em></span>
            </div>
</div>

<div class="navbar nav01"  >
    <div class="container">
        <div class="navbar-header">
            <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">兼职乐</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <span class="navbar-brand clearfix">
                <a href="{:url('index/company/index')}"><img class="pull-left" src="__MYINDEXPIC__logo.jpg"></a>
            </span>
        </div>
        <div class="navbar-collapse collapse" role="navigation">
                                      <a href='{:url("index/part/addPart")}' class="btn btn-danger pull-right mt10 hidden-xs" style="color:#fff">发布新职位</a>

            <ul class="nav navbar-nav mt10 ml10">
                <li ><a href="{:url('index/company/index')}">公司主页</a></li>
                <li ><a href="{:url('index/part/position')}">职位管理</a></li>
                <li ><a href="{:url('index/resume/index')}">简历库</a></li>
                <li class="cur"><a href="#">个人中心</a></li>
            </ul>
        </div>
    </div>
</div>


<div class="container">
    <div class="row clearfix">
        <div class="col-md-3 col-sm-4" style="">
    <div class="box02" style="border-top:none;">
        <ul class="list_menu">
            <li ><a href="{:url('index/company/recharge')}"><span class="glyphicon icon01 mr5"></span>账户中心</a></li>
            <li ><a href="{:url('index/company/center')}"><span class="glyphicon icon02 mr5"></span>我的中心</a></li>
            <!--<li ><a href="company.php?act=payment_log"><span class="glyphicon icon03 mr5"></span>交易明细</a></li>-->
            <li ><a href="{:url('index/company/pwd')}"><span class="glyphicon icon04 mr5"></span>修改密码</a></li>
        </ul>
    </div>
</div>

        <form class="form-horizontal" role="form" method="post" action='{:url("index/Company/edit")}' name="frm" enctype="multipart/form-data">

            <div class="col-md-9 col-sm-8">
                <div class="box02">
                    <div class="chaxun clearfix">
                        <span class="photo pull-left"><img class="img-rounded" src="__MYINDEXPIC__photo2.jpg" id="loc_img"></span>
                        <div class="pull-left mt10">
                            <!--<input class="upbox" type="text" readonly placeholder="本地上传图片" name="company_ic" id="file_name">-->
                            <span class="fontS14"> 本地上传图片 </span>
                            <input type="file" name="company_icon" id="ups" style="display:none" onchange="document.getElementById('file_name').value=this.value">
                            <input class="btn btn-success" type="button" value="浏 览" onclick="document.getElementById('ups').click();" name="get_file">
                            <!--<input type="hidden" name="photo_img" id="photo_img" value="1"><br>-->
                            <span class="fontS12"></span>
                            <span class="fontS12">(仅限JPG、PNG、BMP、GIF格式图片)</span>
                        </div>
                    </div>
                    <p class="fontS16 ml20 mt20"><span class="glyphicon icon02 mr5"></span>修改企业信息</p>
                    <div class="password">
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label"><span class="text-danger mr5">*</span>企业名称：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_name" id="company_name" placeholder="请输入企业名称" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label"><span class="text-danger mr5">*</span>负责人：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_leader" id="contact" placeholder="请输入负责人" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label"><span class="text-danger mr5">*</span>手机号：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_tele" id="telephone" placeholder="" value="" maxlength="11">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label">固定电话：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_phone" id="line_telephone" placeholder="" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label">企业QQ：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_qq" id="company_qq" placeholder="" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label"><span class="text-danger mr5">*</span>企业邮箱：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_email" id="company_email" placeholder="请输入企业邮箱" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label"><span class="text-danger mr5">*</span>企业地址：</label>
                            <div class="col-sm-9 col-xs-8">
                                <input type="text" class="form-control" name="company_address" id="address" placeholder="" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 col-xs-4 control-label"><span class="text-danger mr5">*</span>企业介绍：</label>
                            <div class="col-sm-9 col-xs-8">
                                <textarea class="form-control" style="height:150px;" name="company_intro" placeholder="请输入企业简介"></textarea>
                            </div>
                        </div>
                        <div class="form-group mt20">
                            <div class="col-sm-offset-3 col-sm-9 col-xs-offset-4 col-xs-8">
                                <button type="submit" class="btn btn-success btn-lg" id="data_button">提交修改</button>
                            </div>
                        </div>
                    </div>
                </div>

            </form> 
        </div>
    </div>
</div>

<script>  
$(function(){  
    $("#ups").change(function(){  
        var file = this.files[0];  
        //alert("文件大小:"+(file.size / 1024).toFixed(1)+"kB");  
        if (window.FileReader) {  
            var reader = new FileReader();  
            reader.readAsDataURL(file);  
            //监听文件读取结束后事件  
            reader.onloadend = function (e) {  
                showXY(e.target.result,file.fileName);  
            };  
        }  
    });  
});  
function showXY(source){  
    var img = document.getElementById("loc_img");  
    img.src = source;   
}  
</script>
<div class="foot mt20">
    <div class="container"><p class="text-center">©2015 河北乐聘人力资源服务有限公司 丨 快速到岗、高效匹配的兼职平台 丨 冀ICP备15013734</p></div>
</div>
<div class="telbox"></div>
<script src="__MYINDEXJS__jquery.js"></script>
<script src="__MYINDEXJS__bootstrap.min.js"></script>
<script type="text/javascript" language="javascript" src="__MYINDEXJS__jquery-1.7.2-min.js"></script>
<script src="__MYINDEXJS__common2.js"></script>
<script src="__MYINDEXJS__datepicker.js"></script>
<script src="__MYINDEXJS__foundation-datepicker.zh-cn.js"></script>       
<script type="text/javascript" language="javascript" src="__MYINDEXJS__jqbar.js"></script>
<script>
var nowTemp = new Date();
var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);
var checkin = $('#dpd1').fdatepicker({
    onRender: function (date) {
//        return date.valueOf() > now.valueOf() ? 'disabled' : '';
    }
}).on('changeDate', function (ev) {
    if (ev.date.valueOf() > checkout.date.valueOf()) {
        var newDate = new Date(ev.date)
        newDate.setDate(newDate.getDate() + 1);
        checkout.update(newDate);
    }
    checkin.hide();
    $('#dpd2')[0].focus();
}).data('datepicker');
var checkout = $('#dpd2').fdatepicker({
    onRender: function (date) {
                     return date.valueOf() < checkin.date.valueOf() ? 'disabled' : '';
    }
}).on('changeDate', function (ev) {
    checkout.hide();
}).data('datepicker');
</script>
</body>
</html>


